Method for recognizing motor system

ABSTRACT

A method for recognizing a motor system is provided. The method includes steps of: establishing a functional series filter model for describing a motor system; generating a logarithmic sweep signal; feeding the logarithmic sweep signal to the motor system and obtaining, by an accelerometer, a vibration acceleration output by the motor system; generating an inverse signal of the logarithmic sweep signal generated; convolving the vibration acceleration with the inverse signal to obtain a one-dimensional impulse response sequence; intercepting the one-dimensional impulse response sequence by using a window function to obtain impulse response sequences; solving kernel functions according to the impulse response sequences, substituting the kernel functions into a recognition formula of the motor system, and describing and identifying the motor system through the recognition formula.

TECHNICAL FIELD

The present disclosure relates to the field of signal processing, and in particular, to a method for recognizing a motor system using a one-dimensional Volterra filter.

BACKGROUND

With a development of science and technology, audiovisual and other senses have been difficult to meet people's demands, and tactile feedback has entered the public's vision field as a direct sense. A tactile actuator with a motor being a core and an electronic device (such as a cellphone, a tablet, or a motor central device) being a carrier can provide a customized tactile experience by designing its specific waveform. For example, according to scenarios in the game, different sound sources can correspond to different vibrations, which makes people recognize targets more directly and fast in the game and at the same time obtain higher immersion feeling. For another example, for electronic devices such as cellphones, virtual buttons can be provided with highly customized vibration waveforms to achieve special feelings of physical buttons. Recognition for motor system is essential to design a motor customized waveform.

The recognition for the motor system can be understood as determining a processing process of an input signal by a motor system, that is, when an input voltage signal is provided, an output vibration waveform of the motor can be known by recognizing an obtained processing process.

The recognition for the motor system in the related art mostly relies on a physical model, components such as a circuit structure and a magnetic drive are included. On the one hand, an analysis is cumbersome, and an error in recognition of the physical model may lead to an error of a system identification; and on the other hand, it is difficult to accurately describe a nonlinear component of a motor.

Therefore, it is necessary to provide a new method for recognizing the motor system to solve the above problems.

BRIEF DESCRIPTION OF DRAWINGS

Many aspects of the exemplary embodiment can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.

FIG. 1 is a schematic diagram of device for recognizing a motor system using a method for recognizing a motor system;

FIG. 2 is a flow chart of a method for recognizing a motor system;

FIG. 3 is a schematic diagram of a one-dimensional impulse response sequence used in a method for recognizing a motor system;

FIG. 4 is a schematic diagram of a 1st-order kernel function h1 of a method for recognizing a motor system;

FIG. 5 is a schematic diagram of a 2nd-order kernel function h2 of a method for recognizing a motor system;

FIG. 6 is a schematic diagram of a 3rd-order kernel function h3 of a method for recognizing a motor system;

FIG. 7 is a schematic diagram of a 4th-order kernel function h4 of a method for recognizing a motor system;

FIG. 8 is a schematic diagram of a 5th-order kernel function h5 of a method for recognizing a motor system; and

FIG. 9 is a diagram illustrating a comparison between an acceleration obtained according to a method for recognizing a motor system using a measured acceleration.

DESCRIPTION OF EMBODIMENTS

The technical solutions in embodiments of the present disclosure are described in the following with reference to the accompanying drawings. It should be understood that described embodiments are merely exemplary embodiments of the present disclosure, which shall not be interpreted as providing limitations to the present disclosure. All other embodiments obtained by those skilled in the art without creative efforts according to the embodiments of the present disclosure are within the scope of the present disclosure.

With reference to FIG. 1, an embodiment of the present disclosure provides a method for recognizing a motor system, the method can be implemented through a signal generator 1, a motor system 2, and an accelerometer 3.

The signal generator 1 inputs an excitation voltage x(n) to the motor system 2.

The motor system 2 is a motor system to be recognized. In an embodiment, the motor system 2 is regarded as a black box. An input signal is the excitation voltage x(n), and an output signal is a vibration acceleration y(n).

The accelerometer 3 is configured to collect the vibration acceleration y(n) output by the motor system 2

With reference to FIG. 2, the method for recognizing the motor system includes following steps.

In step S1, a functional series filter model for describing the motor system is established, the functional series filter model having an input being an excitation voltage x(n) and an output being a vibration acceleration y(n), and y(n) satisfies a recognition formula (1) as follows.

$\begin{matrix} {{y(n)} = {{\sum\limits_{i = 0}^{M_{1} - 1}\;{{h_{1}(i)}{x\left( {n - i} \right)}}} + {\sum\limits_{i = 0}^{M_{2} - 1}\;{{h_{2}(i)}{x^{2}\left( {n - i} \right)}}} + \cdots + {\sum\limits_{i = 0}^{M_{p} - 1}\;{{h_{p}(i)}{x^{p}\left( {n - i} \right)}}}}} & (1) \end{matrix}$

Here, h_(p) is a kernel function of the functional series filter model, M_(p) is a length of a filter of a p^(th)-order kernel function, i is a point coordinate of a discrete-domain kernel function and is a natural number ranging from 0 to M_(p)−1, n is a positive integer, p is a positive integer, x^(p)(n−i) represents p^(th) power of an x sequence of a (n−i)^(th) point coordinate;

In step S2, a logarithmic sweep signal is generated as the excitation voltage x(n) of the motor system, where x(n) satisfies a formula (2):

$\begin{matrix} {{x(n)} = {A\mspace{14mu}\sin\left\{ {\frac{\omega_{1}T}{\ln\left( {\omega_{2}\text{/}\omega_{1}} \right)}\left\lbrack {e^{\frac{n\mspace{14mu}{\ln{({\omega_{2}\text{/}\omega_{1}})}}}{N}} - 1} \right\rbrack} \right\}}} & (2) \end{matrix}$

Here, A is an amplitude, ω₁ and ω₂ respectively are a starting angular frequency and an ending angular frequency of the logarithmic sweep signal, T is a signal duration of the logarithmic sweep signal, N is a total number of sampling points, and n is a positive integer.

Meanwhile, parameters satisfy a formula (3):

$\begin{matrix} {\frac{\omega_{1}T}{\ln\left( {\omega_{2}\text{/}\omega_{1}} \right)} = {\frac{\pi}{2} + {2{\eta\pi}}}} & (3) \end{matrix}$

Here, η= . . . , −1, 0, 1, 2, . . . .

In step S3, the logarithmic sweep signal generated in the step S2 is fed to the motor system, and the vibration acceleration y(n) output by the motor system is collected by an accelerometer.

In step S4, an inverse signal of the logarithmic sweep signal is generated, and {tilde over (x)}(n) satisfies a formula (4):

$\begin{matrix} {{\overset{\sim}{x}(n)} = {\frac{2\mspace{14mu}{\ln\left( \frac{\omega_{2}}{\omega_{1}} \right)}}{A^{2}T}{e^{{- \frac{n}{N}}{\ln{(\frac{\omega_{2}}{\omega_{1}})}}} \cdot {x\left( {- n} \right)}}}} & (4) \end{matrix}$

In step S5, the vibration acceleration y(n) collected in the step S3 is convolved with the inverse signal {tilde over (x)}(n) obtained in the step S4 to obtain a one-dimensional impulse response sequence k(n); in this step, the one-dimensional impulse response sequence k(n) consists of multiple delayed impulse response sequences.

In step S6, the one-dimensional impulse response sequence k(n) obtained in the step S5 is intercepted by using a window function to obtain impulse response sequences k₁(n) to k_(p)(n).

$\left\{ {\begin{matrix} {{k_{1}(n)} = {{k(n)} \cdot \left\lbrack {{u(n)} - {u\left( {n - M_{1}} \right)}} \right\rbrack}} \\ {{k_{2}(n)} = {{k(n)} \cdot \left\lbrack {{u\left( {n + \gamma_{20}} \right)} - {u\left( {n + \gamma_{20} - M_{2}} \right)}} \right\rbrack}} \\ \vdots \\ {{k_{p}(n)} = {{k(n)} \cdot \left\lbrack {{u\left( {n + \gamma_{p\; 0}} \right)} - {u\left( {n + \gamma_{p\; 0} - M_{p}} \right)}} \right\rbrack}} \end{matrix}\quad} \right.$

Here, u is a unit step function, γ_(p0) is a constant indicating a delay amount of a p^(th) impulse response and calculated as:

$\gamma_{p\; 0} = {\frac{\ln(p)}{\ln\left( {\omega_{2}\text{/}\omega_{1}} \right)}.}$

In step S7, kernel functions h₁ to h_(p) is solved according to the impulse response sequences, the kernel functions are substituted into a recognition formula of the motor system, and the motor system is described and recognized through the recognition formula. The kernel functions h₁ to h_(p) are denoted as:

$\left\{ {\begin{matrix} {h_{1} = {k_{1} - {3k_{3}} + {5k_{5}}}} \\ {{h_{2} = {{{- \frac{2}{A}}k_{2}} + {\frac{8}{A}k_{4}}}}\mspace{11mu}} \\ {h_{3} = {{{- \frac{4}{A}}k_{3}} - {\frac{20}{A^{2}}k_{5}}}} \\ {{h_{4} = {{- \frac{8}{A^{3}}}k_{4}}}\mspace{76mu}} \\ {{h_{5} = {{- \frac{16}{A^{4}}}k_{5}}}\mspace{76mu}} \\ {\vdots\mspace{200mu}} \\ {{h_{p} = {{- \frac{2^{({p - 1})}}{A^{({p - 1})}}}k_{p}}}\mspace{40mu}} \end{matrix}{\quad.}} \right.$

Each kernel function is then substituted into the recognition formula of the motor system, and the motor system is described and identified by the recognition formula.

The motor system is recognized by the method for recognizing the motor system, a physical model is not depended on and a nonlinear component of a motor is included, which can effectively estimate the vibration waveform output by the motor and thereby makes the method for recognizing the motor system be simple and be with a high reliability.

In order to verify an actual effect of the method for recognizing the motor system, a system identification is performed by measuring the vibration acceleration of a motor based on the functional series filter model, and parameters of the motor are as shown in Table 1 as follows.

TABLE 1 parameter list of the motor symbol physical meaning and unit value f1 starting frequency of sweep signal, Hz 20 f2 ending frequency of sweep signal, Hz 4 × 10³ T Duration of sweep signal, s 9.3383 A amplitude of sweep signal, V 2 fs sampling Rate, Hz 8 × 10³ M length of kernel function 2 × 10³ zero_pos_offset offset at time zero 300

With reference to FIGS. 4-8, the motor is identified by performing the method for recognizing the motor system, and the kernel function is identified and obtained. In recognition of the verification, a recognition is performed through 5 orders the kernel function.

With reference to FIG. 9, the input signal x(n) is input into the motor system to recognize the motor system, and estimated vibration acceleration y′(n) output is compared with measured vibration acceleration y(n). Here, a curve A illustrates values of the measured vibration acceleration, a curve B illustrates values of the estimated vibration acceleration, and a curve C illustrates an error value thereof. An error between the estimated acceleration and the measured acceleration is 2.69%, which is a small error and indicates that the method for recognizing the motor system of the present disclosure is effective and accurate.

With the verification test described above, it can be concluded that the method for recognizing the motor system recognizes the motor system and can effectively estimate a vibration waveform output by the motor.

Compared with the related art, in the method for recognizing the motor system of the present disclosure, the functional series filter model for describing the motor system is established with the excitation voltage x(n) being the input of the functional series filter model and the vibration acceleration y(n) being the output of the functional series filter model; the logarithmic sweep signal is generated as the excitation voltage x(n) of the motor system; the generated logarithmic sweep signal is fed to the motor system, and the vibration acceleration y(n) output by the motor system is collected through the accelerometer, and then the inverse signal {tilde over (x)}(n) of the logarithmic sweep signal is generated; and then the vibration acceleration y(n) collected is convolved with the inverse signal {tilde over (x)}(n) to obtain the one-dimensional impulse response sequence k(n); then the one-dimensional impulse response sequence k(n) is intercepted to obtain impulse response sequences k₁(n) to k_(p)(n) by using the window function; then the kernel functions h₁ to h_(p) is solved according to the impulse response sequences, and the kernel functions are then substituted into the recognition formula of the motor system, and the motor system is described and identified by the recognition formula. The motor system is recognized by the motor system recognition method, no physical model is depended on and a nonlinear component of the motor is included, which can effectively estimate the vibration waveform output by the motor and makes the method for recognizing the motor system be simple and be with a high reliability.

The above description is merely exemplary embodiments of the present disclosure, and is not intended to limit the scope of the present disclosure. All equivalent structures or equivalent process transformations, based on the specification and the drawings of the present disclosure, that can be directly or indirectly applied to other related technology fields are within the scope of the present disclosure. 

What is claimed is:
 1. A method for recognizing a motor system, comprising: step S1 of establishing a functional series filter model for describing the motor system, the functional series filter model having an input being an excitation voltage x(n) and an output being a vibration acceleration y(n), wherein y(n) satisfies a recognition formula (1): $\begin{matrix} {{{y(n)} = {{\sum\limits_{i = 0}^{M_{1} - 1}\;{{h_{1}(i)}{x\left( {n - i} \right)}}} + {\sum\limits_{i = 0}^{M_{2} - 1}\;{{h_{2}(i)}{x^{2}\left( {n - i} \right)}}} + \cdots + {\sum\limits_{i = 0}^{M_{p} - 1}\;{{h_{p}(i)}{x^{p}\left( {n - i} \right)}}}}},} & (1) \end{matrix}$ where h_(p) is a kernel function of the functional series filter model, M_(p) is a length of a filter of a p^(th)-order kernel function, i represents a point coordinate of a discrete-domain kernel function and is a natural number ranging from 0 to M_(p)−1, n is a sampling point of the kernel function and is a positive integer, p is a positive integer, x^(p)(n−i) represents a p^(th) power of an x sequence of a (n−i)^(th) point coordinate; step S2 of generating a logarithmic sweep signal as the excitation voltage x(n) of the motor system, wherein x(n) satisfies a formula (2): $\begin{matrix} {{{x(n)} = {A\mspace{14mu}\sin\left\{ {\frac{\omega_{1}T}{\ln\left( {\omega_{2}\text{/}\omega_{1}} \right)}\left\lbrack {e^{\frac{n\mspace{14mu}{\ln{({\omega_{2}\text{/}\omega_{1}})}}}{N}} - 1} \right\rbrack} \right\}}},} & (2) \end{matrix}$ where A is an amplitude, ω₁ and ω₂ are respectively a starting angular frequency and an ending angular frequency of the logarithmic sweep signal, T is a duration of the logarithmic sweep signal, N is a total number of sampling points, and n is a positive integer, wherein parameters simultaneously satisfy a formula (3): $\begin{matrix} {{\frac{\omega_{1}T}{\ln\left( {\omega_{2}\text{/}\omega_{1}} \right)} = {\frac{\pi}{2} + {2{\eta\pi}}}},} & (3) \end{matrix}$ where η= . . . , −1, 0, 1, 2, . . . ; step S3 of feeding the logarithmic sweep signal generated in the step S2 to the motor system, and collecting, by an accelerometer, the vibration acceleration y(n) output by the motor system; step S4 of generating an inverse signal {tilde over (x)}(n) of the logarithmic sweep signal, wherein {tilde over (x)}(n) satisfies a formula (4): $\begin{matrix} {{{\overset{\sim}{x}(n)} = {\frac{2\mspace{14mu}{\ln\left( \frac{\omega_{2}}{\omega_{1}} \right)}}{A^{2}T}{e^{{- \frac{n}{N}}{\ln{(\frac{\omega_{2}}{\omega_{1}})}}} \cdot {x\left( {- n} \right)}}}};} & (4) \end{matrix}$ step S5 of convolving the vibration acceleration y(n) obtained in the step S3 with the inverse signal {tilde over (x)}(n) obtained in the step S4 to obtain a one-dimensional impulse response sequence k(n); step S6 of intercepting the one-dimensional impulse response sequence k(n) obtained in the step S5 by using a window function to obtain impulse response sequences k₁(n) to k_(p)(n): $\left\{ {\begin{matrix} {{k_{1}(n)} = {{k(n)} \cdot \left\lbrack {{u(n)} - {u\left( {n - M_{1}} \right)}} \right\rbrack}} \\ {{k_{2}(n)} = {{k(n)} \cdot \left\lbrack {{u\left( {n + \gamma_{20}} \right)} - {u\left( {n + \gamma_{20} - M_{2}} \right)}} \right\rbrack}} \\ \vdots \\ {{k_{p}(n)} = {{k(n)} \cdot \left\lbrack {{u\left( {n + \gamma_{p\; 0}} \right)} - {u\left( {n + \gamma_{p\; 0} - M_{p}} \right)}} \right\rbrack}} \end{matrix}{\quad,}} \right.$ where u is a unit step function, and γ_(p0) is a constant indicating a delay amount of a p^(th) impulse response calculated as: ${\gamma_{p\; 0} = \frac{\ln(p)}{\ln\left( {\omega_{2}\text{/}\omega_{1}} \right)}};$ and step S7 of solving kernel functions h₁ to h_(p) according to the impulse response sequences, substituting the kernel functions into the recognition formula of the motor system, and describing and recognizing the motor system through the recognition formula, wherein kernel functions h₁ to h_(p) are denoted as: $\left\{ {\begin{matrix} {h_{1} = {k_{1} - {3k_{3}} + {5k_{5}}}} \\ {{h_{2} = {{{- \frac{2}{A}}k_{2}} + {\frac{8}{A}k_{4}}}}\mspace{11mu}} \\ {h_{3} = {{{- \frac{4}{A}}k_{3}} - {\frac{20}{A^{2}}k_{5}}}} \\ {{h_{4} = {{- \frac{8}{A^{3}}}k_{4}}}\mspace{76mu}} \\ {{h_{5} = {{- \frac{16}{A^{4}}}k_{5}}}\mspace{76mu}} \\ {\vdots\mspace{200mu}} \\ {{h_{p} = {{- \frac{2^{({p - 1})}}{A^{({p - 1})}}}k_{p}}}\mspace{40mu}} \end{matrix}{\quad.}} \right.$
 2. The method for recognizing a motor system as described in claim 1, wherein in the step S5, the one-dimensional impulse response sequence k(n) is composed of a plurality of delayed impulse response sequences. 